package com.example.recyclerviewcontextmenudemo.dataoop;

import java.io.Serializable;
import com.example.recyclerviewcontextmenudemo.R;

public class Book implements Serializable {
    private String name;
    private double price;
    private int imageResId = R.drawable.ic_book_default;

    public Book(String name, double price) {
        this.name = name;
        this.price = price;
    }

    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
    public double getPrice() { return price; }
    public void setPrice(double price) { this.price = price; }
    public int getImageResId() { return imageResId; }
}
